import request from '@/request'

export function listCategorysDetail() {
    return request({
        url: '/category/detail',
        method: 'get'
    })
}

export function getCategoryDetailById(id) {
    return request({
        url: `/category/detail/${id}`,
        method: 'get'
    })
}